<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><%= title %></title>

    <link rel="stylesheet" href="<%= basePath %>/lib/sui.min.css">
    <link rel="stylesheet" href="<%= basePath %>/lib/sui-append.min.css">
    <link rel="stylesheet" href="<%= basePath %>/public/iconfont/iconfont.css">
    <link rel="stylesheet" href="<%= basePath %>/public/css/style.css">
</head>

<body class="page_body">
<% include header.ejs %>
<% include slogan.ejs %>
<% include tab_bar.ejs %>

<div class="content">
    <% include menu.ejs %>

    <div class="frame body">
        <div class="body_breadcrumb">
            <div class="body_line"></div>
            <p class="breadcrumb_text">
            <%
                var tab = menus.find(function(tab) {
                    return tab.name == selectedTab;
                });

                var menu = tab.menus.find(function(menu) {
                    return menu.name == selectedMenu;
                });

            %>
            考勤系统 &gt; <%= tab.description %> &gt; <span class="breadcrumb_text_current"><%= menu.description %></span>

            </p>
        </div>
        <%
        var pagePath = '../' + role + '/' + selectedTab + '/' + selectedMenu;
        %>
        <%- include(pagePath) %>
    </div>

</div>
<% include footer.ejs %>
</body>
